package com.sky.mapper.common;

import com.sky.pojo.DishFlavor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:zhq
 * @Date: 2025/08/18 11:38
 * @Description:
 */
@Mapper
public interface DishFlavorMapepr {

    void insertBatch(List<DishFlavor> flavors);
    /**
     * 根据主键删除菜品口味
     *
     * @param id
     */
    void deleteByDishIds(@Param("ids") List<Long> ids);

    void deleteByDishId(Long dishId);
}
